<div id="column-left">{include file="blocks/menu_info_login.tpl"}</div>
<div id="content">
<h1 style="margin-top:55px;"><span class="h1-top">Danh sách yêu thích</span></h1>
    <div class="checkout-content" id="checkout4" style="display: block; ">
      <div class="checkout-product">
        <table>
          <thead>
            <tr >
                <td class="image" >Hình ảnh</td>
                <td class="name">Tên</td>
                <td class="model">Kích thước</td>
                <td class="price">Giá</td>
               
                <td class="total">Tác vụ</td>
            </tr>
          </thead>
          <tbody>
          {if $list_product.0 != NULL}
          {foreach $list_product as $product}
          <tr style="line-height:40px;">
            <td class="image"><img style="max-width:50px;" src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}"/></td>
            <td class="name"><a href="">{$product.name}</a></td>
            <td class="model">{$product.size}</td>
            <td class="price">{number_format($product.price_new)}VNĐ</td>
            <td class="total"><a href="/wishlist/delete-{$product.id}"><input type="image" src="/templates/images/del.png" alt="Delete" title="Delete" name="submit" /></a></td>
          </tr>
            {/foreach}
            {/if}
            </tbody>
        </table>
      </div>
    </div>

